package com.flyco.modules.pms.mapper;

import java.util.List;

import com.flyco.modules.pms.model.PmsProductAttributeModel;
import org.apache.ibatis.annotations.Param;
import com.flyco.modules.pms.entity.PmsProductAttributeValue;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

/**
 * @Description: 产品参数信息
 * @Author: flyco
 * @Date:   2019-11-27
 * @Version: V1.0
 */
@Repository
public interface PmsProductAttributeValueMapper extends BaseMapper<PmsProductAttributeValue> {

    boolean deleteByAttributeId(Long attributeId);

    List<PmsProductAttributeModel> selectAttributeByCategoryId(@Param("productId") Long productId, @Param("attributeCategoryId") Long attributeCategoryId);

}
